
//
//  WithdrawTFView.m
//  WBBaseProject
//
//  Created by 吴斌 on 2018/4/10.
//  Copyright © 2018年 吴斌. All rights reserved.
//

#import "WithdrawTFView.h"

@implementation WithdrawTFView

- (void)setAllWithdraw:(NSString *)allWithdraw
{
    _allWithdraw = allWithdraw;
    self.allWithdrawLb.text = [NSString stringWithFormat:@"可提现余额￥%@",self.allWithdraw];
}

- (IBAction)withdrawAll:(id)sender {
    
    self.moneyTF.text = [NSString stringWithFormat:@"%@",self.allWithdraw];
}

- (IBAction)applyClick:(id)sender {
    
    if (self.applyClick) {
        
        [self.moneyTF resignFirstResponder];
        self.applyClick();
    }
}
- (IBAction)shooseBank:(id)sender {
    if (self.chooseBank) {
        self.chooseBank();
    }
}

@end
